#include<stdio.h>
#include<time.h>
int main()
{
	int x = 0;
	int begin1 = clock();
	int n = 100000;
	for (int i = 0; i < n; i++)
	{
		for (int j = 0; j < n; j++)
		{
			++x;
		}
	}
	int end1 = clock();
	printf("%d\n", x);
	printf("%d\n", end1 - begin1);
	return 0;
}